import request from '@/utils/request'

// 软件库列表
export function apiSoftwareLists(params: any) {
    return request.get({ url: '/software/lists', params })
}

// 添加软件库
export function apiSoftwareAdd(params: any) {
    return request.post({ url: '/software/add', params })
}

// 编辑软件库
export function apiSoftwareEdit(params: any) {
    return request.post({ url: '/software/edit', params })
}

// 删除软件库
export function apiSoftwareDelete(params: any) {
    return request.post({ url: '/software/delete', params })
}

// 软件库详情
export function apiSoftwareDetail(params: any) {
    return request.get({ url: '/software/detail', params })
}

export function apiSoftwareSetVip(params: any) {
    return request.post({ url: '/software/setVip', params })
}
